﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Mysoft.MyCM;
using Mysoft.MyCM.Scm;
using Mysoft.MyCM.Business;
using Mysoft.MyCM.Business.Scm;

namespace Mysoft.MyCM.Web.Controllers.WebApi.Scm
{
	/// <summary>
	///  SCM-TFS信息Api
	/// </summary>
	public class Scm_TfsInfoController : BaseApiController
    {
		private TfsBLL _bll = new TfsBLL();

		/// <summary>
		/// 根据TFS客户Id获取该客户的Tfs服务器信息
		/// </summary>
		/// <param name="param">TFS客户Id</param>
		/// <returns></returns>
		public Server Get(Guid param)
		{
			return _bll.GetTfsServerInfo(param);
		}
    }
}
